package net.easyjava.base.dao;

import net.easyjava.base.utils.http.juhe.bean.JokeBean;

import java.util.List;
import java.util.Map;

/**
 * Created by wenxiaoning on 15/12/18.
 */
public interface JokeDao {

    /**
     * 查找文章列表
     * @param params
     * @return
     */
    public List<JokeBean> findList(Map<String, Object> params);

    /**
     * 查找符合要求的文章总数
     * @param params
     * @return
     */
    public int findCount(Map<String, Object> params);

}
